import { legacy_createStore as createStore, applyMiddleware } from 'redux'
import rootReducer from '../reducers'

const middlewares = []

export default function configStore() {
	const store = createStore(rootReducer, applyMiddleware(...middlewares))
	return store
}
